class ChangeTables < ActiveRecord::Migration
  def self.up
    add_column(:profiles, :completed, :integer)
    add_column(:profiles, :friend_count, :integer)
    add_column(:profiles, :gender, :string)

    add_column(:profiles, :job, :string)
    add_column(:profiles, :forename, :string)
    add_column(:profiles, :surname, :string)
    add_column(:profiles, :street, :string)
    add_column(:profiles, :zipcode, :integer)
    add_column(:profiles, :country, :string)
    add_column(:profiles, :country_code, :string)
    add_column(:profiles, :city, :string)
    add_column(:profiles, :distinct, :string)
    
    add_column(:users, :login_count, :integer)
    add_column(:users, :last_login, :integer) # Timestamp Time.now!
    add_column(:users, :points, :integer)
    add_column(:users, :registration_date, :integer) # Timestamp Time.now
  end

  def self.down
  end
end
